package com.atguigu.gmall.payment.service;

import com.alipay.api.AlipayApiException;


//支付宝下单
public interface AlipayService {
    //  支付：
    String createaliPay(Long orderId) throws AlipayApiException;

    //  退款
    boolean refund(Long orderId);


    boolean closePay(Long orderId) throws AlipayApiException;

    boolean checkPayment(Long orderId);
}
